package com.huilian.netty.handler;

import com.huilian.netty.model.CIMSession;
import com.huilian.netty.model.SocketMessage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * MessageHandler
 *
 * @Author mineChen
 * @Date 2021/11/29 下午 05:01
 */
@Component
public class MessageHandler implements CIMRequestHandler {

    private static final Logger LOGGER = LoggerFactory.getLogger(MessageHandler.class);
    @Override
    public void process(CIMSession session, SocketMessage message) {

        LOGGER.info("MessageHandler：{}", message);
    }
}
